/*
 * 〈描述〉
 *
 * @author chenxing
 * @since 版本号
 */

package com.maorioi.failureanalyzer.model;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 〈一句话功能简述〉
 *
 * <p>〈功能详细描述〉
 *
 * @author chenxing
 * @since 版本号
 */
public class Failure {
    @NotNull
    private String gitBranch;
    @NotNull
    private LocalDateTime buildTime;
    private Commit[] commits;
    @NotNull
    private String message;

    public String getGitBranch() {
        return gitBranch;
    }

    public void setGitBranch(String gitBranch) {
        this.gitBranch = gitBranch;
    }

    public LocalDateTime getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(LocalDateTime buildTime) {
        this.buildTime = buildTime;
    }

    public Commit[] getCommits() {
        return commits;
    }

    public void setCommits(Commit[] commits) {
        this.commits = commits;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
